package bud.vo;

import lombok.Data;

@Data
public class ChatDTO {
	private Integer ch_no;
	private Integer ch_sender;
	private Integer ch_receiver;
	private String ch_date;
	private String ch_date1;
	private String ch_date2;
	private String ch_chat;
	
	public void setCh_date(String ch_date){
		this.ch_date = ch_date;
		setCh_date1(ch_date.substring(0, 10));
		setCh_date2(ch_date.substring(11, 16));
	}

}
